package com.yuandian.customer.perception.service;

import com.yuandian.api.customer_perception.po.BasePortraitParams;
import com.yuandian.bpm.common.core.util.R;

/**
 * <p>
 * 步骤事务表 服务类
 * </p>
 *
 * @author lixin
 * @since 2022-04-24
 */
public interface IBasePortraitService {

    /**
     *   办理事项统计
     *  默认按照成功率降序排序
     * @return
     */
    R<Object> queryMatterProcessStatistics(BasePortraitParams params);

    /**
     *  办理事项明细
     */
    R<Object> queryMatterProcessDetail(BasePortraitParams params);

    /**
     * 办理事项步骤明细
     * @param params
     * @return
     */
    R<Object> queryMatterProcessStepDetail(BasePortraitParams params);

    /**
     *  用户操作步骤概况
     * @return
     */
    R<Object> queryUserOperationStepOverview(BasePortraitParams params);

    /**
     *  事项办理概览
     *  默认按照成功率降序排序
     * @return
     */
    R<Object> queryPortraitOverview(BasePortraitParams params);

    /**
     *  获取事项名称
     * @return
     */
    R<Object> queryMatterName(BasePortraitParams params);

    /**
     * 获取产生告警的步骤id
     * @param params
     * @return
     */
    R<Object> queryStepIds(BasePortraitParams params);
}
